package com.gjy.statemachine.service;

import com.gjy.statemachine.module.Order;

import java.util.Map;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-07-02 11:35:02
 */
public interface OrderService {

    Order create();

    Order pay(long id);

    Order deliver(long id);

    Order receive(long id);

    Map<Long, Order> getOrders();

}
